package com.xzy.service;

import com.xzy.custom.Page;
import com.xzy.entities.SysUser;
import com.xzy.web.form.SysUserForm;

import java.util.List;

/**
 * TODO
 *
 * @author XiangZhongyi
 * ClassName: 用户管理业务逻辑接口
 * date: 2021/9/20 19:53
 */
public interface SysUserService {

    SysUser findByUserName(String userName);

    Integer findAllUserInformationCount(Page page,String name);

    List<SysUser> findAllUserInformation(Page page,String name);

    SysUser findById(Integer id);

    void updateById(SysUserForm form,Integer rid);

    void updateById(SysUserForm form);

    void insert(SysUserForm form);

    void insertUserRole(SysUserForm form, Integer rid);

    String findNumber();

    void delUserInformation(int parseInt);

    void updatePwdById(String newpwd, Integer id);
}
